/**
 * Created by Administrator on 2017/10/22.
 */
$(document).ready(function () {
    dataLocation();
    $(window).resize(function() {
        dataLocation();
    });
});
function dataLocation() {
    $(".swiper-container").css("height",($(window).height()-100));
    if ($(window).width()<1310){
        $(".up").css("left",650);
        $(".down").css("left",650);
    }
    else {
        $(".up").css("left",(($(window).width()-60)/2));
        $(".down").css("left",(($(window).width()-60)/2));
    }
}